#!/bin/sh

# errors shouldn't cause script to exit
set +e

# set chrome-sandbox permissions
chmod 4755 ${CMAKE_INSTALL_PREFIX}/chrome-sandbox

# create softlink to rstudio /usr/bin
ln -f -s ${CMAKE_INSTALL_PREFIX}/rstudio /usr/bin/rstudio

# clear error termination state
set -e
